package e310

const (
	PacketHead = 0xBB
	PacketTail = 0x7E
)

type PacketType byte

const (
	PacketTypeReq    PacketType = 0x00
	PacketTypeResp   PacketType = 0x01
	PacketTypeNotify PacketType = 0x02
)

const (
	CmdVersion    = 0x03
	CmdInvOnce    = 0x22
	CmdInvStart   = 0x27
	CmdInvStop    = 0x28
	CmdSelect     = 0x0c
	CmdSelectMode = 0x12
	CmdRead       = 0x39
	CmdWrite      = 0x49
	CmdLock       = 0x82
	CmdKill       = 0x65
	CmdPowerSet   = 0xB6
)
